package conf

import "znet/zconf"

type Config struct {
	zconf.Log                     `json:"Log"`
	zconf.Service                 `json:"Service"`
	RpcServices []zconf.RpcService `json:"RpcServices"`
}
var Server = Config{}

func (this *Config)Configure(path string)  {
	zconf.ReadConfig(path,&Server)
}
